//
//  RouteDetailModel.h
//  Cycling
//
//  Created by 迟国强 on 2023/4/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RouteCommentModel : NSObject
@property (nonatomic, strong) NSString *id;
@property (nonatomic, strong) NSString *privateid;
@property (nonatomic, strong) NSString *userid;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSString *recnum;
@property (nonatomic, strong) NSString *createtime;
@property (nonatomic, strong) NSDictionary *user;
@property (nonatomic, strong) NSArray <RouteCommentModel *> *rec;
@property (nonatomic, assign) BOOL isSuper;

@end

@interface Highly : NSObject

@property (nonatomic, strong) NSArray *data;
@property (nonatomic, strong) NSArray *x;
@property (nonatomic, strong) NSString *climb;

@end

@interface RouteDetailJsonModel: NSObject

@property (nonatomic) double accuracy;
@property (nonatomic) double alt;
@property (nonatomic) double distance;
@property (nonatomic) double lat;
@property (nonatomic) double lng;

@end

@interface RouteDetailModel : NSObject
@property (nonatomic, strong) NSString *actualDuration; //未处理的时长
@property (nonatomic, strong) NSString *timelength; // 处理过的时长格式
@property (nonatomic, strong) NSString *actualdistance;//未处理的里程
@property (nonatomic, strong) NSString *mileage;//处理过的里程有单位
@property (nonatomic, strong) NSString *calories;//处理过的卡路里有单位

@property (nonatomic, strong) NSString *bicycleType;
@property (nonatomic, strong) NSString *commnum;
@property (nonatomic, strong) NSString *createtime;
@property (nonatomic, strong) NSString *ground;
@property (nonatomic, strong) NSArray <NSString *> *imgs;
@property (nonatomic, strong) NSString * introduce;
@property (nonatomic, strong) NSString *linestatus;
@property (nonatomic, strong) NSString *share;
@property (nonatomic, strong) NSString *id;
@property (nonatomic, strong) NSString *userid;
@property (nonatomic, strong) NSString *cid;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *startlng;
@property (nonatomic, strong) NSString *startlat;
@property (nonatomic, strong) NSString *endlng;
@property (nonatomic, strong) NSString *endlat;
@property (nonatomic, strong) NSString *endpost;
@property (nonatomic, strong) NSString *distance;
@property (nonatomic, strong) NSString *estimatedDuration;
@property (nonatomic, strong) NSArray <RouteDetailJsonModel *> *json;
@property (nonatomic, strong) NSString *climb;
@property (nonatomic, strong) NSString *praisenum;
@property (nonatomic, strong) NSString *collectionnum;
@property (nonatomic, strong) NSString *status;
@property (nonatomic, strong) NSString *creattime;
@property (nonatomic, strong) NSString *updatetime;
@property (nonatomic, assign) BOOL ispraise;
@property (nonatomic, assign) BOOL iscollection;
@property (nonatomic, strong) NSString *lineimg;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSArray <RouteCommentModel *>* comments;
@property (nonatomic, assign) BOOL isStart;
@property (nonatomic, assign) BOOL isOrigin;
@property (nonatomic, strong) Highly *highly;

- (void)reloadJsonModels;

@end

NS_ASSUME_NONNULL_END
